package com.niit.serviceuser.service;

import com.niit.common.entity.TbOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "service-order")
public interface OrderService {

    @GetMapping("/orders")
    List<TbOrder> getAllOrders();
}
